<!--发布评论的页面模板-->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header"></head>

<body class="bg">


<nav th:replace="layouts::navbar"></nav>

<div class="container">
    <form th:action="@{/comments/save}" th:object="${comment}" method="POST">
        <input type="text" placeholder="动漫" th:field="${comment.name}">
        <textarea type="text" placeholder="评论" th:field="${comment.description}"></textarea>
        <button type="submit">发布</button>
    </form>


</div>
</body>
</html>




